const mongoose = require('mongoose')
const Schema = mongoose.Schema
// 防止店名重复 判断用 _id
let AdminSchema = new Schema({
  opCode: String,
  opName: String,
  loginUser: String,
  password: String
})

// Export the model
module.exports = mongoose.model('Admin', AdminSchema)